(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

ROSLaunch and Emacs

Description: Configure emacs to color roslaunch files correctly

Keywords: emacs

Tutorial Level: BEGINNER

Contents

This is an extremely simple tutorial to configure emacs to view .launch files with color highlighting.

  1. Open ~/.emacs with your favorite text editor
  2. Add the following to the bottom of the file:

; roslaunch highlighting
(add-to-list 'auto-mode-alist '("\\.launch$" . xml-mode))
  1. Save and reload emacs to see the change take effect!

Wiki: roslaunch/Tutorials/Using Roslaunch with Emacs (last edited 2013-09-23 20:08:09 by davetcoleman)